package edu.gdut.tiantian.service;

import java.util.List;
import java.util.Map;

import edu.gdut.tiantian.entity.Product;

public interface IProductService {
	void save(Product product);

	void delete(String productId);

	void update(Product product);

	Product findById(String productId);

	List<Product> findByCondition(Map<String, String> condition, int pageNum,int size);
	
	List<Product> getCommend();
	
	List<Product> getNew();
}
